package com.example.demo.service;


import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.conditions.update.UpdateWrapper;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.demo.entity.StuAnswer;
import com.example.demo.entity.UpdateLog;

import java.util.Date;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

public interface UpdateLogService extends IService<UpdateLog>{
    /*增加修改成绩日志*/
    Map<String,Object> addupdatelog(String studentName, String studentId, String stuclass, int exerciseId, int questionId,String answer,String stuanswer,String stuidea,int oldscore,int newscore, String difficulty, String opid, String opname, Date optime);

    //查询所有日志记录
    List<Map<String,Object>> getUpdateLog();
    //    修改日志记录
    Map<String,Object> modifyupdatelog(int id,String studentName, String studentId, String stuclass, int exerciseId, int questionId,String qtitle, String qcontent, String difficulty, String opid, String opname, Date optime);

    //删除日志
    Map<String,Object> deletelog( int id);

}
